package Semester_4.SpringJDBC.jdbcTemplate;

public class student {
    private int id;
    private String name;
    private String password;
    private int id_card;
    private int order_id;

    @Override
    public String toString() {
        return "student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", id_card=" + id_card +
                ", order_id=" + order_id +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getId_card() {
        return id_card;
    }

    public void setId_card(int id_card) {
        this.id_card = id_card;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public student(int id, String name, String password, int id_card, int order_id) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.id_card = id_card;
        this.order_id = order_id;
    }

    public student() {
    }
}
